package com.project.hqshorttaxi.service;

import com.project.hqshorttaxi.dto.RoleParam;
import com.project.hqshorttaxi.entity.Role;

import java.util.List;

public interface RoleService {

    Role getById(Integer id);

    List<Role> list(RoleParam param);

    Role getByRoleId(Integer roleId);

    List<Role> listAll();

    void insert(Role entity) throws Exception;

    void update(Role entity) throws Exception;
}
